package com.captjack.rest.configuration.rest;

import org.springframework.context.annotation.Configuration;
import org.springframework.data.rest.core.config.RepositoryRestConfiguration;
import org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerAdapter;

/**
 * 自定义rest规则，如资源映射路径等
 *
 * @author Jack Sparrow
 * @version 1.0.0
 * @date 2018/6/3 14:37
 * package com.captjack.rest.configuration
 */
@Configuration
public class RestCustomizeConfiguration extends RepositoryRestConfigurerAdapter {

    /**
     * 自定义资源-url对应规则
     *
     * @param repositoryRestConfiguration 配置
     */
    @Override
    public void configureRepositoryRestConfiguration(RepositoryRestConfiguration repositoryRestConfiguration) {
        super.configureRepositoryRestConfiguration(repositoryRestConfiguration);
    }

}
